package com.n5x.model.shopping;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ShoppingOrderExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ShoppingOrderExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andFkUserIsNull() {
            addCriterion("FK_USER is null");
            return (Criteria) this;
        }

        public Criteria andFkUserIsNotNull() {
            addCriterion("FK_USER is not null");
            return (Criteria) this;
        }

        public Criteria andFkUserEqualTo(String value) {
            addCriterion("FK_USER =", value, "fkUser");
            return (Criteria) this;
        }

        public Criteria andFkUserNotEqualTo(String value) {
            addCriterion("FK_USER <>", value, "fkUser");
            return (Criteria) this;
        }

        public Criteria andFkUserGreaterThan(String value) {
            addCriterion("FK_USER >", value, "fkUser");
            return (Criteria) this;
        }

        public Criteria andFkUserGreaterThanOrEqualTo(String value) {
            addCriterion("FK_USER >=", value, "fkUser");
            return (Criteria) this;
        }

        public Criteria andFkUserLessThan(String value) {
            addCriterion("FK_USER <", value, "fkUser");
            return (Criteria) this;
        }

        public Criteria andFkUserLessThanOrEqualTo(String value) {
            addCriterion("FK_USER <=", value, "fkUser");
            return (Criteria) this;
        }

        public Criteria andFkUserLike(String value) {
            addCriterion("FK_USER like", value, "fkUser");
            return (Criteria) this;
        }

        public Criteria andFkUserNotLike(String value) {
            addCriterion("FK_USER not like", value, "fkUser");
            return (Criteria) this;
        }

        public Criteria andFkUserIn(List<String> values) {
            addCriterion("FK_USER in", values, "fkUser");
            return (Criteria) this;
        }

        public Criteria andFkUserNotIn(List<String> values) {
            addCriterion("FK_USER not in", values, "fkUser");
            return (Criteria) this;
        }

        public Criteria andFkUserBetween(String value1, String value2) {
            addCriterion("FK_USER between", value1, value2, "fkUser");
            return (Criteria) this;
        }

        public Criteria andFkUserNotBetween(String value1, String value2) {
            addCriterion("FK_USER not between", value1, value2, "fkUser");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("TYPE is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(String value) {
            addCriterion("TYPE =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(String value) {
            addCriterion("TYPE <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(String value) {
            addCriterion("TYPE >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(String value) {
            addCriterion("TYPE >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(String value) {
            addCriterion("TYPE <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(String value) {
            addCriterion("TYPE <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLike(String value) {
            addCriterion("TYPE like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotLike(String value) {
            addCriterion("TYPE not like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<String> values) {
            addCriterion("TYPE in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<String> values) {
            addCriterion("TYPE not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(String value1, String value2) {
            addCriterion("TYPE between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(String value1, String value2) {
            addCriterion("TYPE not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andReceiptCodeIsNull() {
            addCriterion("RECEIPT_CODE is null");
            return (Criteria) this;
        }

        public Criteria andReceiptCodeIsNotNull() {
            addCriterion("RECEIPT_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andReceiptCodeEqualTo(String value) {
            addCriterion("RECEIPT_CODE =", value, "receiptCode");
            return (Criteria) this;
        }

        public Criteria andReceiptCodeNotEqualTo(String value) {
            addCriterion("RECEIPT_CODE <>", value, "receiptCode");
            return (Criteria) this;
        }

        public Criteria andReceiptCodeGreaterThan(String value) {
            addCriterion("RECEIPT_CODE >", value, "receiptCode");
            return (Criteria) this;
        }

        public Criteria andReceiptCodeGreaterThanOrEqualTo(String value) {
            addCriterion("RECEIPT_CODE >=", value, "receiptCode");
            return (Criteria) this;
        }

        public Criteria andReceiptCodeLessThan(String value) {
            addCriterion("RECEIPT_CODE <", value, "receiptCode");
            return (Criteria) this;
        }

        public Criteria andReceiptCodeLessThanOrEqualTo(String value) {
            addCriterion("RECEIPT_CODE <=", value, "receiptCode");
            return (Criteria) this;
        }

        public Criteria andReceiptCodeLike(String value) {
            addCriterion("RECEIPT_CODE like", value, "receiptCode");
            return (Criteria) this;
        }

        public Criteria andReceiptCodeNotLike(String value) {
            addCriterion("RECEIPT_CODE not like", value, "receiptCode");
            return (Criteria) this;
        }

        public Criteria andReceiptCodeIn(List<String> values) {
            addCriterion("RECEIPT_CODE in", values, "receiptCode");
            return (Criteria) this;
        }

        public Criteria andReceiptCodeNotIn(List<String> values) {
            addCriterion("RECEIPT_CODE not in", values, "receiptCode");
            return (Criteria) this;
        }

        public Criteria andReceiptCodeBetween(String value1, String value2) {
            addCriterion("RECEIPT_CODE between", value1, value2, "receiptCode");
            return (Criteria) this;
        }

        public Criteria andReceiptCodeNotBetween(String value1, String value2) {
            addCriterion("RECEIPT_CODE not between", value1, value2, "receiptCode");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyIsNull() {
            addCriterion("TOTAL_MONEY is null");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyIsNotNull() {
            addCriterion("TOTAL_MONEY is not null");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyEqualTo(BigDecimal value) {
            addCriterion("TOTAL_MONEY =", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyNotEqualTo(BigDecimal value) {
            addCriterion("TOTAL_MONEY <>", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyGreaterThan(BigDecimal value) {
            addCriterion("TOTAL_MONEY >", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("TOTAL_MONEY >=", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyLessThan(BigDecimal value) {
            addCriterion("TOTAL_MONEY <", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("TOTAL_MONEY <=", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyIn(List<BigDecimal> values) {
            addCriterion("TOTAL_MONEY in", values, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyNotIn(List<BigDecimal> values) {
            addCriterion("TOTAL_MONEY not in", values, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("TOTAL_MONEY between", value1, value2, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("TOTAL_MONEY not between", value1, value2, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andActualMoneyIsNull() {
            addCriterion("ACTUAL_MONEY is null");
            return (Criteria) this;
        }

        public Criteria andActualMoneyIsNotNull() {
            addCriterion("ACTUAL_MONEY is not null");
            return (Criteria) this;
        }

        public Criteria andActualMoneyEqualTo(BigDecimal value) {
            addCriterion("ACTUAL_MONEY =", value, "actualMoney");
            return (Criteria) this;
        }

        public Criteria andActualMoneyNotEqualTo(BigDecimal value) {
            addCriterion("ACTUAL_MONEY <>", value, "actualMoney");
            return (Criteria) this;
        }

        public Criteria andActualMoneyGreaterThan(BigDecimal value) {
            addCriterion("ACTUAL_MONEY >", value, "actualMoney");
            return (Criteria) this;
        }

        public Criteria andActualMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("ACTUAL_MONEY >=", value, "actualMoney");
            return (Criteria) this;
        }

        public Criteria andActualMoneyLessThan(BigDecimal value) {
            addCriterion("ACTUAL_MONEY <", value, "actualMoney");
            return (Criteria) this;
        }

        public Criteria andActualMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("ACTUAL_MONEY <=", value, "actualMoney");
            return (Criteria) this;
        }

        public Criteria andActualMoneyIn(List<BigDecimal> values) {
            addCriterion("ACTUAL_MONEY in", values, "actualMoney");
            return (Criteria) this;
        }

        public Criteria andActualMoneyNotIn(List<BigDecimal> values) {
            addCriterion("ACTUAL_MONEY not in", values, "actualMoney");
            return (Criteria) this;
        }

        public Criteria andActualMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ACTUAL_MONEY between", value1, value2, "actualMoney");
            return (Criteria) this;
        }

        public Criteria andActualMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ACTUAL_MONEY not between", value1, value2, "actualMoney");
            return (Criteria) this;
        }

        public Criteria andDiscountMoneyIsNull() {
            addCriterion("DISCOUNT_MONEY is null");
            return (Criteria) this;
        }

        public Criteria andDiscountMoneyIsNotNull() {
            addCriterion("DISCOUNT_MONEY is not null");
            return (Criteria) this;
        }

        public Criteria andDiscountMoneyEqualTo(BigDecimal value) {
            addCriterion("DISCOUNT_MONEY =", value, "discountMoney");
            return (Criteria) this;
        }

        public Criteria andDiscountMoneyNotEqualTo(BigDecimal value) {
            addCriterion("DISCOUNT_MONEY <>", value, "discountMoney");
            return (Criteria) this;
        }

        public Criteria andDiscountMoneyGreaterThan(BigDecimal value) {
            addCriterion("DISCOUNT_MONEY >", value, "discountMoney");
            return (Criteria) this;
        }

        public Criteria andDiscountMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("DISCOUNT_MONEY >=", value, "discountMoney");
            return (Criteria) this;
        }

        public Criteria andDiscountMoneyLessThan(BigDecimal value) {
            addCriterion("DISCOUNT_MONEY <", value, "discountMoney");
            return (Criteria) this;
        }

        public Criteria andDiscountMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("DISCOUNT_MONEY <=", value, "discountMoney");
            return (Criteria) this;
        }

        public Criteria andDiscountMoneyIn(List<BigDecimal> values) {
            addCriterion("DISCOUNT_MONEY in", values, "discountMoney");
            return (Criteria) this;
        }

        public Criteria andDiscountMoneyNotIn(List<BigDecimal> values) {
            addCriterion("DISCOUNT_MONEY not in", values, "discountMoney");
            return (Criteria) this;
        }

        public Criteria andDiscountMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("DISCOUNT_MONEY between", value1, value2, "discountMoney");
            return (Criteria) this;
        }

        public Criteria andDiscountMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("DISCOUNT_MONEY not between", value1, value2, "discountMoney");
            return (Criteria) this;
        }

        public Criteria andFkErpressBoxIsNull() {
            addCriterion("FK_ERPRESS_BOX is null");
            return (Criteria) this;
        }

        public Criteria andFkErpressBoxIsNotNull() {
            addCriterion("FK_ERPRESS_BOX is not null");
            return (Criteria) this;
        }

        public Criteria andFkErpressBoxEqualTo(String value) {
            addCriterion("FK_ERPRESS_BOX =", value, "fkErpressBox");
            return (Criteria) this;
        }

        public Criteria andFkErpressBoxNotEqualTo(String value) {
            addCriterion("FK_ERPRESS_BOX <>", value, "fkErpressBox");
            return (Criteria) this;
        }

        public Criteria andFkErpressBoxGreaterThan(String value) {
            addCriterion("FK_ERPRESS_BOX >", value, "fkErpressBox");
            return (Criteria) this;
        }

        public Criteria andFkErpressBoxGreaterThanOrEqualTo(String value) {
            addCriterion("FK_ERPRESS_BOX >=", value, "fkErpressBox");
            return (Criteria) this;
        }

        public Criteria andFkErpressBoxLessThan(String value) {
            addCriterion("FK_ERPRESS_BOX <", value, "fkErpressBox");
            return (Criteria) this;
        }

        public Criteria andFkErpressBoxLessThanOrEqualTo(String value) {
            addCriterion("FK_ERPRESS_BOX <=", value, "fkErpressBox");
            return (Criteria) this;
        }

        public Criteria andFkErpressBoxLike(String value) {
            addCriterion("FK_ERPRESS_BOX like", value, "fkErpressBox");
            return (Criteria) this;
        }

        public Criteria andFkErpressBoxNotLike(String value) {
            addCriterion("FK_ERPRESS_BOX not like", value, "fkErpressBox");
            return (Criteria) this;
        }

        public Criteria andFkErpressBoxIn(List<String> values) {
            addCriterion("FK_ERPRESS_BOX in", values, "fkErpressBox");
            return (Criteria) this;
        }

        public Criteria andFkErpressBoxNotIn(List<String> values) {
            addCriterion("FK_ERPRESS_BOX not in", values, "fkErpressBox");
            return (Criteria) this;
        }

        public Criteria andFkErpressBoxBetween(String value1, String value2) {
            addCriterion("FK_ERPRESS_BOX between", value1, value2, "fkErpressBox");
            return (Criteria) this;
        }

        public Criteria andFkErpressBoxNotBetween(String value1, String value2) {
            addCriterion("FK_ERPRESS_BOX not between", value1, value2, "fkErpressBox");
            return (Criteria) this;
        }

        public Criteria andErpressBoxAddressIsNull() {
            addCriterion("ERPRESS_BOX_ADDRESS is null");
            return (Criteria) this;
        }

        public Criteria andErpressBoxAddressIsNotNull() {
            addCriterion("ERPRESS_BOX_ADDRESS is not null");
            return (Criteria) this;
        }

        public Criteria andErpressBoxAddressEqualTo(String value) {
            addCriterion("ERPRESS_BOX_ADDRESS =", value, "erpressBoxAddress");
            return (Criteria) this;
        }

        public Criteria andErpressBoxAddressNotEqualTo(String value) {
            addCriterion("ERPRESS_BOX_ADDRESS <>", value, "erpressBoxAddress");
            return (Criteria) this;
        }

        public Criteria andErpressBoxAddressGreaterThan(String value) {
            addCriterion("ERPRESS_BOX_ADDRESS >", value, "erpressBoxAddress");
            return (Criteria) this;
        }

        public Criteria andErpressBoxAddressGreaterThanOrEqualTo(String value) {
            addCriterion("ERPRESS_BOX_ADDRESS >=", value, "erpressBoxAddress");
            return (Criteria) this;
        }

        public Criteria andErpressBoxAddressLessThan(String value) {
            addCriterion("ERPRESS_BOX_ADDRESS <", value, "erpressBoxAddress");
            return (Criteria) this;
        }

        public Criteria andErpressBoxAddressLessThanOrEqualTo(String value) {
            addCriterion("ERPRESS_BOX_ADDRESS <=", value, "erpressBoxAddress");
            return (Criteria) this;
        }

        public Criteria andErpressBoxAddressLike(String value) {
            addCriterion("ERPRESS_BOX_ADDRESS like", value, "erpressBoxAddress");
            return (Criteria) this;
        }

        public Criteria andErpressBoxAddressNotLike(String value) {
            addCriterion("ERPRESS_BOX_ADDRESS not like", value, "erpressBoxAddress");
            return (Criteria) this;
        }

        public Criteria andErpressBoxAddressIn(List<String> values) {
            addCriterion("ERPRESS_BOX_ADDRESS in", values, "erpressBoxAddress");
            return (Criteria) this;
        }

        public Criteria andErpressBoxAddressNotIn(List<String> values) {
            addCriterion("ERPRESS_BOX_ADDRESS not in", values, "erpressBoxAddress");
            return (Criteria) this;
        }

        public Criteria andErpressBoxAddressBetween(String value1, String value2) {
            addCriterion("ERPRESS_BOX_ADDRESS between", value1, value2, "erpressBoxAddress");
            return (Criteria) this;
        }

        public Criteria andErpressBoxAddressNotBetween(String value1, String value2) {
            addCriterion("ERPRESS_BOX_ADDRESS not between", value1, value2, "erpressBoxAddress");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("REMARK is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("REMARK is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("REMARK =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("REMARK <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("REMARK >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("REMARK >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("REMARK <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("REMARK <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("REMARK like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("REMARK not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("REMARK in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("REMARK not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("REMARK between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("REMARK not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andBooksingTimeIsNull() {
            addCriterion("BOOKSING_TIME is null");
            return (Criteria) this;
        }

        public Criteria andBooksingTimeIsNotNull() {
            addCriterion("BOOKSING_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andBooksingTimeEqualTo(String value) {
            addCriterion("BOOKSING_TIME =", value, "booksingTime");
            return (Criteria) this;
        }

        public Criteria andBooksingTimeNotEqualTo(String value) {
            addCriterion("BOOKSING_TIME <>", value, "booksingTime");
            return (Criteria) this;
        }

        public Criteria andBooksingTimeGreaterThan(String value) {
            addCriterion("BOOKSING_TIME >", value, "booksingTime");
            return (Criteria) this;
        }

        public Criteria andBooksingTimeGreaterThanOrEqualTo(String value) {
            addCriterion("BOOKSING_TIME >=", value, "booksingTime");
            return (Criteria) this;
        }

        public Criteria andBooksingTimeLessThan(String value) {
            addCriterion("BOOKSING_TIME <", value, "booksingTime");
            return (Criteria) this;
        }

        public Criteria andBooksingTimeLessThanOrEqualTo(String value) {
            addCriterion("BOOKSING_TIME <=", value, "booksingTime");
            return (Criteria) this;
        }

        public Criteria andBooksingTimeLike(String value) {
            addCriterion("BOOKSING_TIME like", value, "booksingTime");
            return (Criteria) this;
        }

        public Criteria andBooksingTimeNotLike(String value) {
            addCriterion("BOOKSING_TIME not like", value, "booksingTime");
            return (Criteria) this;
        }

        public Criteria andBooksingTimeIn(List<String> values) {
            addCriterion("BOOKSING_TIME in", values, "booksingTime");
            return (Criteria) this;
        }

        public Criteria andBooksingTimeNotIn(List<String> values) {
            addCriterion("BOOKSING_TIME not in", values, "booksingTime");
            return (Criteria) this;
        }

        public Criteria andBooksingTimeBetween(String value1, String value2) {
            addCriterion("BOOKSING_TIME between", value1, value2, "booksingTime");
            return (Criteria) this;
        }

        public Criteria andBooksingTimeNotBetween(String value1, String value2) {
            addCriterion("BOOKSING_TIME not between", value1, value2, "booksingTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeIsNull() {
            addCriterion("PAY_TIME is null");
            return (Criteria) this;
        }

        public Criteria andPayTimeIsNotNull() {
            addCriterion("PAY_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andPayTimeEqualTo(Date value) {
            addCriterion("PAY_TIME =", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotEqualTo(Date value) {
            addCriterion("PAY_TIME <>", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeGreaterThan(Date value) {
            addCriterion("PAY_TIME >", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("PAY_TIME >=", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeLessThan(Date value) {
            addCriterion("PAY_TIME <", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeLessThanOrEqualTo(Date value) {
            addCriterion("PAY_TIME <=", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeIn(List<Date> values) {
            addCriterion("PAY_TIME in", values, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotIn(List<Date> values) {
            addCriterion("PAY_TIME not in", values, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeBetween(Date value1, Date value2) {
            addCriterion("PAY_TIME between", value1, value2, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotBetween(Date value1, Date value2) {
            addCriterion("PAY_TIME not between", value1, value2, "payTime");
            return (Criteria) this;
        }

        public Criteria andArrivalTimeIsNull() {
            addCriterion("ARRIVAL_TIME is null");
            return (Criteria) this;
        }

        public Criteria andArrivalTimeIsNotNull() {
            addCriterion("ARRIVAL_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andArrivalTimeEqualTo(Date value) {
            addCriterion("ARRIVAL_TIME =", value, "arrivalTime");
            return (Criteria) this;
        }

        public Criteria andArrivalTimeNotEqualTo(Date value) {
            addCriterion("ARRIVAL_TIME <>", value, "arrivalTime");
            return (Criteria) this;
        }

        public Criteria andArrivalTimeGreaterThan(Date value) {
            addCriterion("ARRIVAL_TIME >", value, "arrivalTime");
            return (Criteria) this;
        }

        public Criteria andArrivalTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("ARRIVAL_TIME >=", value, "arrivalTime");
            return (Criteria) this;
        }

        public Criteria andArrivalTimeLessThan(Date value) {
            addCriterion("ARRIVAL_TIME <", value, "arrivalTime");
            return (Criteria) this;
        }

        public Criteria andArrivalTimeLessThanOrEqualTo(Date value) {
            addCriterion("ARRIVAL_TIME <=", value, "arrivalTime");
            return (Criteria) this;
        }

        public Criteria andArrivalTimeIn(List<Date> values) {
            addCriterion("ARRIVAL_TIME in", values, "arrivalTime");
            return (Criteria) this;
        }

        public Criteria andArrivalTimeNotIn(List<Date> values) {
            addCriterion("ARRIVAL_TIME not in", values, "arrivalTime");
            return (Criteria) this;
        }

        public Criteria andArrivalTimeBetween(Date value1, Date value2) {
            addCriterion("ARRIVAL_TIME between", value1, value2, "arrivalTime");
            return (Criteria) this;
        }

        public Criteria andArrivalTimeNotBetween(Date value1, Date value2) {
            addCriterion("ARRIVAL_TIME not between", value1, value2, "arrivalTime");
            return (Criteria) this;
        }

        public Criteria andFinishTimeIsNull() {
            addCriterion("FINISH_TIME is null");
            return (Criteria) this;
        }

        public Criteria andFinishTimeIsNotNull() {
            addCriterion("FINISH_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andFinishTimeEqualTo(Date value) {
            addCriterion("FINISH_TIME =", value, "finishTime");
            return (Criteria) this;
        }

        public Criteria andFinishTimeNotEqualTo(Date value) {
            addCriterion("FINISH_TIME <>", value, "finishTime");
            return (Criteria) this;
        }

        public Criteria andFinishTimeGreaterThan(Date value) {
            addCriterion("FINISH_TIME >", value, "finishTime");
            return (Criteria) this;
        }

        public Criteria andFinishTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("FINISH_TIME >=", value, "finishTime");
            return (Criteria) this;
        }

        public Criteria andFinishTimeLessThan(Date value) {
            addCriterion("FINISH_TIME <", value, "finishTime");
            return (Criteria) this;
        }

        public Criteria andFinishTimeLessThanOrEqualTo(Date value) {
            addCriterion("FINISH_TIME <=", value, "finishTime");
            return (Criteria) this;
        }

        public Criteria andFinishTimeIn(List<Date> values) {
            addCriterion("FINISH_TIME in", values, "finishTime");
            return (Criteria) this;
        }

        public Criteria andFinishTimeNotIn(List<Date> values) {
            addCriterion("FINISH_TIME not in", values, "finishTime");
            return (Criteria) this;
        }

        public Criteria andFinishTimeBetween(Date value1, Date value2) {
            addCriterion("FINISH_TIME between", value1, value2, "finishTime");
            return (Criteria) this;
        }

        public Criteria andFinishTimeNotBetween(Date value1, Date value2) {
            addCriterion("FINISH_TIME not between", value1, value2, "finishTime");
            return (Criteria) this;
        }

        public Criteria andCurrentStateIsNull() {
            addCriterion("CURRENT_STATE is null");
            return (Criteria) this;
        }

        public Criteria andCurrentStateIsNotNull() {
            addCriterion("CURRENT_STATE is not null");
            return (Criteria) this;
        }

        public Criteria andCurrentStateEqualTo(String value) {
            addCriterion("CURRENT_STATE =", value, "currentState");
            return (Criteria) this;
        }

        public Criteria andCurrentStateNotEqualTo(String value) {
            addCriterion("CURRENT_STATE <>", value, "currentState");
            return (Criteria) this;
        }

        public Criteria andCurrentStateGreaterThan(String value) {
            addCriterion("CURRENT_STATE >", value, "currentState");
            return (Criteria) this;
        }

        public Criteria andCurrentStateGreaterThanOrEqualTo(String value) {
            addCriterion("CURRENT_STATE >=", value, "currentState");
            return (Criteria) this;
        }

        public Criteria andCurrentStateLessThan(String value) {
            addCriterion("CURRENT_STATE <", value, "currentState");
            return (Criteria) this;
        }

        public Criteria andCurrentStateLessThanOrEqualTo(String value) {
            addCriterion("CURRENT_STATE <=", value, "currentState");
            return (Criteria) this;
        }

        public Criteria andCurrentStateLike(String value) {
            addCriterion("CURRENT_STATE like", value, "currentState");
            return (Criteria) this;
        }

        public Criteria andCurrentStateNotLike(String value) {
            addCriterion("CURRENT_STATE not like", value, "currentState");
            return (Criteria) this;
        }

        public Criteria andCurrentStateIn(List<String> values) {
            addCriterion("CURRENT_STATE in", values, "currentState");
            return (Criteria) this;
        }

        public Criteria andCurrentStateNotIn(List<String> values) {
            addCriterion("CURRENT_STATE not in", values, "currentState");
            return (Criteria) this;
        }

        public Criteria andCurrentStateBetween(String value1, String value2) {
            addCriterion("CURRENT_STATE between", value1, value2, "currentState");
            return (Criteria) this;
        }

        public Criteria andCurrentStateNotBetween(String value1, String value2) {
            addCriterion("CURRENT_STATE not between", value1, value2, "currentState");
            return (Criteria) this;
        }

        public Criteria andTransactionNumberIsNull() {
            addCriterion("TRANSACTION_NUMBER is null");
            return (Criteria) this;
        }

        public Criteria andTransactionNumberIsNotNull() {
            addCriterion("TRANSACTION_NUMBER is not null");
            return (Criteria) this;
        }

        public Criteria andTransactionNumberEqualTo(String value) {
            addCriterion("TRANSACTION_NUMBER =", value, "transactionNumber");
            return (Criteria) this;
        }

        public Criteria andTransactionNumberNotEqualTo(String value) {
            addCriterion("TRANSACTION_NUMBER <>", value, "transactionNumber");
            return (Criteria) this;
        }

        public Criteria andTransactionNumberGreaterThan(String value) {
            addCriterion("TRANSACTION_NUMBER >", value, "transactionNumber");
            return (Criteria) this;
        }

        public Criteria andTransactionNumberGreaterThanOrEqualTo(String value) {
            addCriterion("TRANSACTION_NUMBER >=", value, "transactionNumber");
            return (Criteria) this;
        }

        public Criteria andTransactionNumberLessThan(String value) {
            addCriterion("TRANSACTION_NUMBER <", value, "transactionNumber");
            return (Criteria) this;
        }

        public Criteria andTransactionNumberLessThanOrEqualTo(String value) {
            addCriterion("TRANSACTION_NUMBER <=", value, "transactionNumber");
            return (Criteria) this;
        }

        public Criteria andTransactionNumberLike(String value) {
            addCriterion("TRANSACTION_NUMBER like", value, "transactionNumber");
            return (Criteria) this;
        }

        public Criteria andTransactionNumberNotLike(String value) {
            addCriterion("TRANSACTION_NUMBER not like", value, "transactionNumber");
            return (Criteria) this;
        }

        public Criteria andTransactionNumberIn(List<String> values) {
            addCriterion("TRANSACTION_NUMBER in", values, "transactionNumber");
            return (Criteria) this;
        }

        public Criteria andTransactionNumberNotIn(List<String> values) {
            addCriterion("TRANSACTION_NUMBER not in", values, "transactionNumber");
            return (Criteria) this;
        }

        public Criteria andTransactionNumberBetween(String value1, String value2) {
            addCriterion("TRANSACTION_NUMBER between", value1, value2, "transactionNumber");
            return (Criteria) this;
        }

        public Criteria andTransactionNumberNotBetween(String value1, String value2) {
            addCriterion("TRANSACTION_NUMBER not between", value1, value2, "transactionNumber");
            return (Criteria) this;
        }

        public Criteria andTransactionMethodIsNull() {
            addCriterion("TRANSACTION_METHOD is null");
            return (Criteria) this;
        }

        public Criteria andTransactionMethodIsNotNull() {
            addCriterion("TRANSACTION_METHOD is not null");
            return (Criteria) this;
        }

        public Criteria andTransactionMethodEqualTo(String value) {
            addCriterion("TRANSACTION_METHOD =", value, "transactionMethod");
            return (Criteria) this;
        }

        public Criteria andTransactionMethodNotEqualTo(String value) {
            addCriterion("TRANSACTION_METHOD <>", value, "transactionMethod");
            return (Criteria) this;
        }

        public Criteria andTransactionMethodGreaterThan(String value) {
            addCriterion("TRANSACTION_METHOD >", value, "transactionMethod");
            return (Criteria) this;
        }

        public Criteria andTransactionMethodGreaterThanOrEqualTo(String value) {
            addCriterion("TRANSACTION_METHOD >=", value, "transactionMethod");
            return (Criteria) this;
        }

        public Criteria andTransactionMethodLessThan(String value) {
            addCriterion("TRANSACTION_METHOD <", value, "transactionMethod");
            return (Criteria) this;
        }

        public Criteria andTransactionMethodLessThanOrEqualTo(String value) {
            addCriterion("TRANSACTION_METHOD <=", value, "transactionMethod");
            return (Criteria) this;
        }

        public Criteria andTransactionMethodLike(String value) {
            addCriterion("TRANSACTION_METHOD like", value, "transactionMethod");
            return (Criteria) this;
        }

        public Criteria andTransactionMethodNotLike(String value) {
            addCriterion("TRANSACTION_METHOD not like", value, "transactionMethod");
            return (Criteria) this;
        }

        public Criteria andTransactionMethodIn(List<String> values) {
            addCriterion("TRANSACTION_METHOD in", values, "transactionMethod");
            return (Criteria) this;
        }

        public Criteria andTransactionMethodNotIn(List<String> values) {
            addCriterion("TRANSACTION_METHOD not in", values, "transactionMethod");
            return (Criteria) this;
        }

        public Criteria andTransactionMethodBetween(String value1, String value2) {
            addCriterion("TRANSACTION_METHOD between", value1, value2, "transactionMethod");
            return (Criteria) this;
        }

        public Criteria andTransactionMethodNotBetween(String value1, String value2) {
            addCriterion("TRANSACTION_METHOD not between", value1, value2, "transactionMethod");
            return (Criteria) this;
        }

        public Criteria andIsBalanceIsNull() {
            addCriterion("IS_BALANCE is null");
            return (Criteria) this;
        }

        public Criteria andIsBalanceIsNotNull() {
            addCriterion("IS_BALANCE is not null");
            return (Criteria) this;
        }

        public Criteria andIsBalanceEqualTo(String value) {
            addCriterion("IS_BALANCE =", value, "isBalance");
            return (Criteria) this;
        }

        public Criteria andIsBalanceNotEqualTo(String value) {
            addCriterion("IS_BALANCE <>", value, "isBalance");
            return (Criteria) this;
        }

        public Criteria andIsBalanceGreaterThan(String value) {
            addCriterion("IS_BALANCE >", value, "isBalance");
            return (Criteria) this;
        }

        public Criteria andIsBalanceGreaterThanOrEqualTo(String value) {
            addCriterion("IS_BALANCE >=", value, "isBalance");
            return (Criteria) this;
        }

        public Criteria andIsBalanceLessThan(String value) {
            addCriterion("IS_BALANCE <", value, "isBalance");
            return (Criteria) this;
        }

        public Criteria andIsBalanceLessThanOrEqualTo(String value) {
            addCriterion("IS_BALANCE <=", value, "isBalance");
            return (Criteria) this;
        }

        public Criteria andIsBalanceLike(String value) {
            addCriterion("IS_BALANCE like", value, "isBalance");
            return (Criteria) this;
        }

        public Criteria andIsBalanceNotLike(String value) {
            addCriterion("IS_BALANCE not like", value, "isBalance");
            return (Criteria) this;
        }

        public Criteria andIsBalanceIn(List<String> values) {
            addCriterion("IS_BALANCE in", values, "isBalance");
            return (Criteria) this;
        }

        public Criteria andIsBalanceNotIn(List<String> values) {
            addCriterion("IS_BALANCE not in", values, "isBalance");
            return (Criteria) this;
        }

        public Criteria andIsBalanceBetween(String value1, String value2) {
            addCriterion("IS_BALANCE between", value1, value2, "isBalance");
            return (Criteria) this;
        }

        public Criteria andIsBalanceNotBetween(String value1, String value2) {
            addCriterion("IS_BALANCE not between", value1, value2, "isBalance");
            return (Criteria) this;
        }

        public Criteria andIsSendToHomeIsNull() {
            addCriterion("IS_SEND_TO_HOME is null");
            return (Criteria) this;
        }

        public Criteria andIsSendToHomeIsNotNull() {
            addCriterion("IS_SEND_TO_HOME is not null");
            return (Criteria) this;
        }

        public Criteria andIsSendToHomeEqualTo(String value) {
            addCriterion("IS_SEND_TO_HOME =", value, "isSendToHome");
            return (Criteria) this;
        }

        public Criteria andIsSendToHomeNotEqualTo(String value) {
            addCriterion("IS_SEND_TO_HOME <>", value, "isSendToHome");
            return (Criteria) this;
        }

        public Criteria andIsSendToHomeGreaterThan(String value) {
            addCriterion("IS_SEND_TO_HOME >", value, "isSendToHome");
            return (Criteria) this;
        }

        public Criteria andIsSendToHomeGreaterThanOrEqualTo(String value) {
            addCriterion("IS_SEND_TO_HOME >=", value, "isSendToHome");
            return (Criteria) this;
        }

        public Criteria andIsSendToHomeLessThan(String value) {
            addCriterion("IS_SEND_TO_HOME <", value, "isSendToHome");
            return (Criteria) this;
        }

        public Criteria andIsSendToHomeLessThanOrEqualTo(String value) {
            addCriterion("IS_SEND_TO_HOME <=", value, "isSendToHome");
            return (Criteria) this;
        }

        public Criteria andIsSendToHomeLike(String value) {
            addCriterion("IS_SEND_TO_HOME like", value, "isSendToHome");
            return (Criteria) this;
        }

        public Criteria andIsSendToHomeNotLike(String value) {
            addCriterion("IS_SEND_TO_HOME not like", value, "isSendToHome");
            return (Criteria) this;
        }

        public Criteria andIsSendToHomeIn(List<String> values) {
            addCriterion("IS_SEND_TO_HOME in", values, "isSendToHome");
            return (Criteria) this;
        }

        public Criteria andIsSendToHomeNotIn(List<String> values) {
            addCriterion("IS_SEND_TO_HOME not in", values, "isSendToHome");
            return (Criteria) this;
        }

        public Criteria andIsSendToHomeBetween(String value1, String value2) {
            addCriterion("IS_SEND_TO_HOME between", value1, value2, "isSendToHome");
            return (Criteria) this;
        }

        public Criteria andIsSendToHomeNotBetween(String value1, String value2) {
            addCriterion("IS_SEND_TO_HOME not between", value1, value2, "isSendToHome");
            return (Criteria) this;
        }

        public Criteria andDeliverIsNull() {
            addCriterion("DELIVER is null");
            return (Criteria) this;
        }

        public Criteria andDeliverIsNotNull() {
            addCriterion("DELIVER is not null");
            return (Criteria) this;
        }

        public Criteria andDeliverEqualTo(String value) {
            addCriterion("DELIVER =", value, "deliver");
            return (Criteria) this;
        }

        public Criteria andDeliverNotEqualTo(String value) {
            addCriterion("DELIVER <>", value, "deliver");
            return (Criteria) this;
        }

        public Criteria andDeliverGreaterThan(String value) {
            addCriterion("DELIVER >", value, "deliver");
            return (Criteria) this;
        }

        public Criteria andDeliverGreaterThanOrEqualTo(String value) {
            addCriterion("DELIVER >=", value, "deliver");
            return (Criteria) this;
        }

        public Criteria andDeliverLessThan(String value) {
            addCriterion("DELIVER <", value, "deliver");
            return (Criteria) this;
        }

        public Criteria andDeliverLessThanOrEqualTo(String value) {
            addCriterion("DELIVER <=", value, "deliver");
            return (Criteria) this;
        }

        public Criteria andDeliverLike(String value) {
            addCriterion("DELIVER like", value, "deliver");
            return (Criteria) this;
        }

        public Criteria andDeliverNotLike(String value) {
            addCriterion("DELIVER not like", value, "deliver");
            return (Criteria) this;
        }

        public Criteria andDeliverIn(List<String> values) {
            addCriterion("DELIVER in", values, "deliver");
            return (Criteria) this;
        }

        public Criteria andDeliverNotIn(List<String> values) {
            addCriterion("DELIVER not in", values, "deliver");
            return (Criteria) this;
        }

        public Criteria andDeliverBetween(String value1, String value2) {
            addCriterion("DELIVER between", value1, value2, "deliver");
            return (Criteria) this;
        }

        public Criteria andDeliverNotBetween(String value1, String value2) {
            addCriterion("DELIVER not between", value1, value2, "deliver");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("CREATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("CREATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("CREATE_TIME =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("CREATE_TIME <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("CREATE_TIME >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CREATE_TIME >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("CREATE_TIME <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("CREATE_TIME <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("CREATE_TIME in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("CREATE_TIME not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("CREATE_TIME between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("CREATE_TIME not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdateTimeIsNull() {
            addCriterion("LAST_UPDATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdateTimeIsNotNull() {
            addCriterion("LAST_UPDATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdateTimeEqualTo(Date value) {
            addCriterion("LAST_UPDATE_TIME =", value, "lastUpdateTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdateTimeNotEqualTo(Date value) {
            addCriterion("LAST_UPDATE_TIME <>", value, "lastUpdateTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdateTimeGreaterThan(Date value) {
            addCriterion("LAST_UPDATE_TIME >", value, "lastUpdateTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("LAST_UPDATE_TIME >=", value, "lastUpdateTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdateTimeLessThan(Date value) {
            addCriterion("LAST_UPDATE_TIME <", value, "lastUpdateTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("LAST_UPDATE_TIME <=", value, "lastUpdateTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdateTimeIn(List<Date> values) {
            addCriterion("LAST_UPDATE_TIME in", values, "lastUpdateTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdateTimeNotIn(List<Date> values) {
            addCriterion("LAST_UPDATE_TIME not in", values, "lastUpdateTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("LAST_UPDATE_TIME between", value1, value2, "lastUpdateTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("LAST_UPDATE_TIME not between", value1, value2, "lastUpdateTime");
            return (Criteria) this;
        }

        public Criteria andDisableIsNull() {
            addCriterion("DISABLE is null");
            return (Criteria) this;
        }

        public Criteria andDisableIsNotNull() {
            addCriterion("DISABLE is not null");
            return (Criteria) this;
        }

        public Criteria andDisableEqualTo(Boolean value) {
            addCriterion("DISABLE =", value, "disable");
            return (Criteria) this;
        }

        public Criteria andDisableNotEqualTo(Boolean value) {
            addCriterion("DISABLE <>", value, "disable");
            return (Criteria) this;
        }

        public Criteria andDisableGreaterThan(Boolean value) {
            addCriterion("DISABLE >", value, "disable");
            return (Criteria) this;
        }

        public Criteria andDisableGreaterThanOrEqualTo(Boolean value) {
            addCriterion("DISABLE >=", value, "disable");
            return (Criteria) this;
        }

        public Criteria andDisableLessThan(Boolean value) {
            addCriterion("DISABLE <", value, "disable");
            return (Criteria) this;
        }

        public Criteria andDisableLessThanOrEqualTo(Boolean value) {
            addCriterion("DISABLE <=", value, "disable");
            return (Criteria) this;
        }

        public Criteria andDisableIn(List<Boolean> values) {
            addCriterion("DISABLE in", values, "disable");
            return (Criteria) this;
        }

        public Criteria andDisableNotIn(List<Boolean> values) {
            addCriterion("DISABLE not in", values, "disable");
            return (Criteria) this;
        }

        public Criteria andDisableBetween(Boolean value1, Boolean value2) {
            addCriterion("DISABLE between", value1, value2, "disable");
            return (Criteria) this;
        }

        public Criteria andDisableNotBetween(Boolean value1, Boolean value2) {
            addCriterion("DISABLE not between", value1, value2, "disable");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}